home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000100_news@columbia.edu_Fri Jun 9 23:15:49 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA06930
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 9 Jun 1995 19:15:56 -0400
  3. Received: by apakabar.cc.columbia.edu id AA26873
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 9 Jun 1995 19:15:54 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: How I kermit files over tcp/ip?
  9. Date: 9 Jun 1995 23:15:49 GMT
  10. Organization: Columbia University, New York City
  11. Lines: 49
  12. Message-Id: <3rakn5$q7i@apakabar.cc.columbia.edu>
  13. References: <3r7opo$ng8@hustle.rahul.net> <1995Jun8.180241.53692@cc.usu.edu> <1995Jun9.123757.94813@kuhub.cc.ukans.edu>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <1995Jun9.123757.94813@kuhub.cc.ukans.edu>,
  18. SMITH TROY D <tdsmith@falcon.cc.ukans.edu> wrote:
  19. :Joe Doupnik (jrd@cc.usu.edu) wrote:
  20. ::In article <3r7opo$ng8@hustle.rahul.net>,
  21. :: Dan Bikle <dbikle@rahul.net> writes:
  22. :: > So, I'm thinking...
  23. :: > how about if I telnet to the site (initial login takes about 30sec),
  24. :: > and then use kermit to transfer files back and forth?
  25. :: > Have you got this to work (between 2 unixes)?
  26. :: ---------
  27. :: Yes, of course it works. I'm puzzled about why you asked rather
  28. :: than just trying it. Go try it, please.
  29. :: Joe D.
  30. :
  31. :I tried it between VMS and OSF/1 and couldn't escape back to OSF/1.  The 
  32. :only escape sequence that worked was the one that dumped me back to the 
  33. :MS-DOS Kermit prompt.
  34. :
  35. Kermit, like telnet, has the notion of an "escape character" followed by
  36. a single character-argument.  If you have a series of Kermit and/or telnet
  37. programs in CONNECT mode, then typing <Ctrl-\>C brings you immediately
  38. back to the closest one whose escape character is Ctrl-\.  In general,
  39. suppose you are running C-Kermit on host A, connected to intermediate
  40. host H1, and from there to intermediate host H2, etc, up to intermediate
  41. host Hn, and from there to host B, like so:
  42.  
  43.   A---H1---H2---H3- ... -Hn---B
  44.  
  45. Then Ctrl-\C brings you back immediately to host A.
  46.  
  47. Why?  Because that is exactly what it is supposed to do.  Remember, the copy
  48. of C-Kermit running on host A is the one that is reading your keyboard.
  49. Whenever it sees the escape character, it looks at the single character that
  50. follows, and this character tells it what to do.  If the next character is C,
  51. then it returns to its prompt.  But if the next character is a second copy of
  52. the escape character, then it sends *one* copy of the escape character out the
  53. communication channel, where it is received, in this case, by host H1.
  54.  
  55. So if you want to escape back to host H1, what do you type?  Answer:
  56.  
  57.   Ctrl-\Ctrl-\C
  58.  
  59. Quiz: what do you type in order to escape back to host H2?  H3?  Hn?
  60.  
  61. Hint: You can work around conundrums like this by assigning a different
  62. escape character to the Kermit (or telnet) running on each host.  Use the
  63. SET ESCAPE command for this.
  64.  
  65. - Frank